<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Calculated the singular values of a matrix</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="lapack.pseudoinverse.html">Lapack::pseudoInverse</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="lapack.solvelinearequation.html">Lapack::solveLinearEquation</a></div>
 <div class="up"><a href="class.lapack.html">Lapack</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="lapack.singularvalues" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Lapack::singularValues</h1>
  <p class="verinfo">(PECL lapack &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">Lapack::singularValues</span> &mdash; <span class="dc-title">Calculated the singular values of a matrix</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-lapack.singularvalues-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type">array</span> <span class="methodname"><strong>Lapack::singularValues</strong></span>
    ( <span class="methodparam"><span class="type">array</span> <code class="parameter">$a</code></span>
   )</div>

  <p class="para rdfs-comment">
    Calculate the singular values of the matrix A. 
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-lapack.singularvalues-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<em><code class="parameter">a</code></em></dt>

    <dd>

     <p class="para">
      The matrix to calculate the singular values for
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-lapack.singularvalues-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
    The singular values
  </p>
 </div>

 
 <div class="refsect1 examples" id="refsect1-lapack.singularvalues-examples">
      <h3 class="title">范例</h3>
      <p class="para">
       <div class="example" id="example-3354">
        <p><strong>Example #1 Using <span class="function"><strong>Lapack::singularValues()</strong></span>:</strong></p>
        <div class="example-contents">
    <div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;$a&nbsp;</span><span style="color: #007700">=&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array(&nbsp;</span><span style="color: #0000BB">7.52</span><span style="color: #007700">,&nbsp;&nbsp;-</span><span style="color: #0000BB">1.10</span><span style="color: #007700">,&nbsp;&nbsp;-</span><span style="color: #0000BB">7.95</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">1.08&nbsp;&nbsp;</span><span style="color: #007700">),<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array(-</span><span style="color: #0000BB">0.76</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">0.62</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">9.34</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">7.10&nbsp;&nbsp;</span><span style="color: #007700">),<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array(&nbsp;</span><span style="color: #0000BB">5.13</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">6.62</span><span style="color: #007700">,&nbsp;&nbsp;-</span><span style="color: #0000BB">5.66</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">0.87&nbsp;&nbsp;</span><span style="color: #007700">),<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array(-</span><span style="color: #0000BB">4.75</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">8.52</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">5.75</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">5.30&nbsp;&nbsp;</span><span style="color: #007700">),<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array(&nbsp;</span><span style="color: #0000BB">1.33</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">4.91</span><span style="color: #007700">,&nbsp;&nbsp;-</span><span style="color: #0000BB">5.49</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">3.52&nbsp;&nbsp;</span><span style="color: #007700">),<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;array(-</span><span style="color: #0000BB">2.40</span><span style="color: #007700">,&nbsp;&nbsp;-</span><span style="color: #0000BB">6.77</span><span style="color: #007700">,&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">2.34</span><span style="color: #007700">,&nbsp;&nbsp;</span><span style="color: #0000BB">3.95&nbsp;&nbsp;</span><span style="color: #007700">),<br />&nbsp;&nbsp;&nbsp;&nbsp;);<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">Lapack</span><span style="color: #007700">::</span><span style="color: #0000BB">singularValues</span><span style="color: #007700">(</span><span style="color: #0000BB">$a</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
        </div>

       </div>
      </p>
     </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="lapack.pseudoinverse.html">Lapack::pseudoInverse</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="lapack.solvelinearequation.html">Lapack::solveLinearEquation</a></div>
 <div class="up"><a href="class.lapack.html">Lapack</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
